package com.yjn.blog.model.http;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.Date;

/**
 * Classname: BlogReq
 * Package: com.yjn.blog.model.http
 * Description:
 *
 * @Author 余集楠
 * @Create 2024/7/16 0016 22:12
 * @Version 1.8
 */
@Data
public class BlogReq implements Serializable {

    @NotBlank(message="标题不能为空")
    private String title;

    @NotBlank(message="内容不能为空")
    private String context;

    private Date created;
}
